package com.sc.domain.patrol;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/*
 * 巡检项目
 * @author: Zuiliu
 * */
@Data
@TableName("zuiliu_patrol_projects")
public class PatrolProject {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("project_name")
    private String projectName;//项目名称
    @TableField("project_standard")
    private String projectStandard;//项目规则
    @TableField("project_status")
    private String projectStatus;//项目状态
    @TableField("add_person")
    private String addPerson;//添加人员
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("add_time")
    private LocalDateTime addTime;//添加时间
}
